<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Arduino MIDI File Parser: midi::MidiFileParserMultiTrack Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Arduino MIDI File Parser
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>midi</b></li><li class="navelem"><a class="el" href="classmidi_1_1MidiFileParserMultiTrack.html">MidiFileParserMultiTrack</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="classmidi_1_1MidiFileParserMultiTrack-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">midi::MidiFileParserMultiTrack Class Reference<div class="ingroups"><a class="el" href="group__midifile.html">Midi File Parser</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>Midi file parser which stores the data in RAM before making them available for parsing. Please note that this class might need a considerable amount of ram so you might consider to activate the PSRAM. Make sure that you complete all <a class="el" href="classmidi_1_1MidiFileParserMultiTrack.html#a76afb244cc53b394e777ba395d49d88e" title="Single character write.">write()</a> calls before starting to call <a class="el" href="classmidi_1_1MidiFileParserMultiTrack.html#a92f154462e857a862484e97e06dd5f61" title="Provide the next midi element.">parse()</a> or <a class="el" href="classmidi_1_1MidiFileParserMultiTrack.html#aa915f8f2c18d9770debd991a6b33a6d1" title="Provide the next midi element considering the times.">parseTimed()</a>!  
 <a href="classmidi_1_1MidiFileParserMultiTrack.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="MidiFileParserMultiTrack_8h_source.html">MidiFileParserMultiTrack.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for midi::MidiFileParserMultiTrack:</div>
<div class="dyncontent">
<div class="center"><img src="classmidi_1_1MidiFileParserMultiTrack__inherit__graph.png" border="0" usemap="#amidi_1_1MidiFileParserMultiTrack_inherit__map" alt="Inheritance graph"/></div>
<map name="amidi_1_1MidiFileParserMultiTrack_inherit__map" id="amidi_1_1MidiFileParserMultiTrack_inherit__map">
<area shape="rect" title="Midi file parser which stores the data in RAM before making them available for parsing...." alt="" coords="5,80,188,121"/>
<area shape="rect" href="classmidi_1_1Print.html" title=" " alt="" coords="52,5,141,32"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for midi::MidiFileParserMultiTrack:</div>
<div class="dyncontent">
<div class="center"><img src="classmidi_1_1MidiFileParserMultiTrack__coll__graph.png" border="0" usemap="#amidi_1_1MidiFileParserMultiTrack_coll__map" alt="Collaboration graph"/></div>
<map name="amidi_1_1MidiFileParserMultiTrack_coll__map" id="amidi_1_1MidiFileParserMultiTrack_coll__map">
<area shape="rect" title="Midi file parser which stores the data in RAM before making them available for parsing...." alt="" coords="829,127,1012,168"/>
<area shape="rect" href="classmidi_1_1Print.html" title=" " alt="" coords="323,151,413,178"/>
<area shape="rect" href="classmidi_1_1MidiFileParser.html" title="Midi File parser. Provide the data via write: You should try to keep the buffer as full as possible w..." alt="" coords="585,185,736,211"/>
<area shape="rect" href="structmidi_1_1midi__time__event.html" title=" " alt="" coords="283,67,453,94"/>
<area shape="rect" href="classmidi_1_1multichannel__segment__tracks.html" title=" " alt="" coords="589,5,733,47"/>
<area shape="rect" href="structmidi_1_1midi__midi__event.html" title="MIDI Event Information." alt="" coords="10,82,178,109"/>
<area shape="rect" href="structmidi_1_1midi__parser__state.html" title="MIDI Parser State Information." alt="" coords="280,238,456,265"/>
<area shape="rect" href="structmidi_1_1midi__sysex__event.html" title="MIDI Sysex Event Information." alt="" coords="5,195,183,222"/>
<area shape="rect" href="structmidi_1_1midi__header.html" title="MIDI Header Information." alt="" coords="24,246,164,273"/>
<area shape="rect" href="structmidi_1_1midi__meta__event.html" title="MIDI Metadata Event Information." alt="" coords="7,297,181,323"/>
<area shape="rect" href="classmidi_1_1RingBuffer.html" title="RingBuffer that supports extensive peek operations to access and compare the next values." alt="" coords="31,347,157,374"/>
<area shape="rect" href="structmidi_1_1midi__track.html" title="MIDI Track Information." alt="" coords="30,145,158,171"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:af71bf056c87c4b20f92e61f1864c0fda"><td class="memItemLeft" align="right" valign="top"><a id="af71bf056c87c4b20f92e61f1864c0fda"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmidi_1_1MidiFileParserMultiTrack.html#af71bf056c87c4b20f92e61f1864c0fda">begin</a> (bool log=true, int bufferSize=MIDI_BUFFER_SIZE)</td></tr>
<tr class="memdesc:af71bf056c87c4b20f92e61f1864c0fda"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes &amp; starts the processing. <br /></td></tr>
<tr class="separator:af71bf056c87c4b20f92e61f1864c0fda"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af23129775e877eed69220c3709562d86"><td class="memItemLeft" align="right" valign="top"><a id="af23129775e877eed69220c3709562d86"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmidi_1_1MidiFileParserMultiTrack.html#af23129775e877eed69220c3709562d86">restart</a> ()</td></tr>
<tr class="memdesc:af23129775e877eed69220c3709562d86"><td class="mdescLeft">&#160;</td><td class="mdescRight">Call this method to restart the parsing with the available data. <br /></td></tr>
<tr class="separator:af23129775e877eed69220c3709562d86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76afb244cc53b394e777ba395d49d88e"><td class="memItemLeft" align="right" valign="top"><a id="a76afb244cc53b394e777ba395d49d88e"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmidi_1_1MidiFileParserMultiTrack.html#a76afb244cc53b394e777ba395d49d88e">write</a> (uint8_t c) override</td></tr>
<tr class="memdesc:a76afb244cc53b394e777ba395d49d88e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Single character write. <br /></td></tr>
<tr class="separator:a76afb244cc53b394e777ba395d49d88e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae40a4412da47c2be0e4ce81d4924d622"><td class="memItemLeft" align="right" valign="top"><a id="ae40a4412da47c2be0e4ce81d4924d622"></a>
virtual size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmidi_1_1MidiFileParserMultiTrack.html#ae40a4412da47c2be0e4ce81d4924d622">write</a> (const uint8_t *data, size_t len)</td></tr>
<tr class="memdesc:ae40a4412da47c2be0e4ce81d4924d622"><td class="mdescLeft">&#160;</td><td class="mdescRight">Feed/Provide the midi data to the parser. <br /></td></tr>
<tr class="separator:ae40a4412da47c2be0e4ce81d4924d622"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7704b4c48c7a8a3fc73d871e8b1f9fe6"><td class="memItemLeft" align="right" valign="top"><a id="a7704b4c48c7a8a3fc73d871e8b1f9fe6"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmidi_1_1MidiFileParserMultiTrack.html#a7704b4c48c7a8a3fc73d871e8b1f9fe6">availableForWrite</a> ()</td></tr>
<tr class="memdesc:a7704b4c48c7a8a3fc73d871e8b1f9fe6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Max number of bytes that we can write. <br /></td></tr>
<tr class="separator:a7704b4c48c7a8a3fc73d871e8b1f9fe6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ff602273e17b62b8c9c6cbe126ae495"><td class="memItemLeft" align="right" valign="top"><a id="a7ff602273e17b62b8c9c6cbe126ae495"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmidi_1_1MidiFileParserMultiTrack.html#a7ff602273e17b62b8c9c6cbe126ae495">trackCount</a> ()</td></tr>
<tr class="memdesc:a7ff602273e17b62b8c9c6cbe126ae495"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of recorded tracks. <br /></td></tr>
<tr class="separator:a7ff602273e17b62b8c9c6cbe126ae495"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92f154462e857a862484e97e06dd5f61"><td class="memItemLeft" align="right" valign="top"><a id="a92f154462e857a862484e97e06dd5f61"></a>
<a class="el" href="structmidi_1_1midi__parser__state.html">midi_parser_state</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmidi_1_1MidiFileParserMultiTrack.html#a92f154462e857a862484e97e06dd5f61">parse</a> ()</td></tr>
<tr class="memdesc:a92f154462e857a862484e97e06dd5f61"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provide the next midi element. <br /></td></tr>
<tr class="separator:a92f154462e857a862484e97e06dd5f61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa915f8f2c18d9770debd991a6b33a6d1"><td class="memItemLeft" align="right" valign="top"><a id="aa915f8f2c18d9770debd991a6b33a6d1"></a>
<a class="el" href="structmidi_1_1midi__parser__state.html">midi_parser_state</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmidi_1_1MidiFileParserMultiTrack.html#aa915f8f2c18d9770debd991a6b33a6d1">parseTimed</a> ()</td></tr>
<tr class="memdesc:aa915f8f2c18d9770debd991a6b33a6d1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provide the next midi element considering the times. <br /></td></tr>
<tr class="separator:aa915f8f2c18d9770debd991a6b33a6d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a16dfda042379f14ce148a878ec478013"><td class="memItemLeft" align="right" valign="top"><a id="a16dfda042379f14ce148a878ec478013"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmidi_1_1MidiFileParserMultiTrack.html#a16dfda042379f14ce148a878ec478013">operator bool</a> ()</td></tr>
<tr class="memdesc:a16dfda042379f14ce148a878ec478013"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true as long as we have data to be written or parsed. <br /></td></tr>
<tr class="separator:a16dfda042379f14ce148a878ec478013"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73b9a31c1e5e3253b09a8540f5e668e3"><td class="memItemLeft" align="right" valign="top"><a id="a73b9a31c1e5e3253b09a8540f5e668e3"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmidi_1_1MidiFileParserMultiTrack.html#a73b9a31c1e5e3253b09a8540f5e668e3">isEmpty</a> ()</td></tr>
<tr class="memdesc:a73b9a31c1e5e3253b09a8540f5e668e3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if there are no midi events. <br /></td></tr>
<tr class="separator:a73b9a31c1e5e3253b09a8540f5e668e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a55db605490bea7e9d93492459204d5"><td class="memItemLeft" align="right" valign="top"><a id="a5a55db605490bea7e9d93492459204d5"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmidi_1_1MidiFileParserMultiTrack.html#a5a55db605490bea7e9d93492459204d5">size</a> ()</td></tr>
<tr class="memdesc:a5a55db605490bea7e9d93492459204d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of available midi events (after writing) <br /></td></tr>
<tr class="separator:a5a55db605490bea7e9d93492459204d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad98d0a996d0d73927651d46e03cdc04d"><td class="memItemLeft" align="right" valign="top"><a id="ad98d0a996d0d73927651d46e03cdc04d"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmidi_1_1MidiFileParserMultiTrack.html#ad98d0a996d0d73927651d46e03cdc04d">end</a> ()</td></tr>
<tr class="memdesc:ad98d0a996d0d73927651d46e03cdc04d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ends the processing: releases all memory. <br /></td></tr>
<tr class="separator:ad98d0a996d0d73927651d46e03cdc04d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae547b0ac886009072ef71c3394b5a31"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmidi_1_1MidiFileParserMultiTrack.html#aae547b0ac886009072ef71c3394b5a31">endWrite</a> ()</td></tr>
<tr class="separator:aae547b0ac886009072ef71c3394b5a31"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a61499a2a04dac517a176dffd5c06de"><td class="memItemLeft" align="right" valign="top"><a id="a6a61499a2a04dac517a176dffd5c06de"></a>
const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmidi_1_1MidiFileParserMultiTrack.html#a6a61499a2a04dac517a176dffd5c06de">midi_status_name</a> (int status)</td></tr>
<tr class="memdesc:a6a61499a2a04dac517a176dffd5c06de"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides the string description for the midi_status value. <br /></td></tr>
<tr class="separator:a6a61499a2a04dac517a176dffd5c06de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0f717fc245fcc4409b0e18ab07ab145"><td class="memItemLeft" align="right" valign="top"><a id="aa0f717fc245fcc4409b0e18ab07ab145"></a>
const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmidi_1_1MidiFileParserMultiTrack.html#aa0f717fc245fcc4409b0e18ab07ab145">midi_file_format_name</a> (int fmt)</td></tr>
<tr class="memdesc:aa0f717fc245fcc4409b0e18ab07ab145"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides the string description for the file format. <br /></td></tr>
<tr class="separator:aa0f717fc245fcc4409b0e18ab07ab145"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae1f01874aea1a37600d7cdb1ee87e260"><td class="memItemLeft" align="right" valign="top"><a id="ae1f01874aea1a37600d7cdb1ee87e260"></a>
const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmidi_1_1MidiFileParserMultiTrack.html#ae1f01874aea1a37600d7cdb1ee87e260">midi_meta_name</a> (int type)</td></tr>
<tr class="memdesc:ae1f01874aea1a37600d7cdb1ee87e260"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides the string description for the midi_meta value. <br /></td></tr>
<tr class="separator:ae1f01874aea1a37600d7cdb1ee87e260"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a86ef1c9ca4395490324fbd71eb9806a3"><td class="memItemLeft" align="right" valign="top"><a id="a86ef1c9ca4395490324fbd71eb9806a3"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>parse</b> (int limit)</td></tr>
<tr class="separator:a86ef1c9ca4395490324fbd71eb9806a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9f3a4051501b93e63873e9de460f50f"><td class="memItemLeft" align="right" valign="top"><a id="aa9f3a4051501b93e63873e9de460f50f"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmidi_1_1MidiFileParserMultiTrack.html#aa9f3a4051501b93e63873e9de460f50f">addEvent</a> (<a class="el" href="structmidi_1_1midi__parser__state.html">midi_parser_state</a> &amp;state)</td></tr>
<tr class="memdesc:aa9f3a4051501b93e63873e9de460f50f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds an new midi event with the corresponding time. <br /></td></tr>
<tr class="separator:aa9f3a4051501b93e63873e9de460f50f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a980461481f88e7d62c8ee6e531938ab1"><td class="memItemLeft" align="right" valign="top"><a id="a980461481f88e7d62c8ee6e531938ab1"></a>
<a class="el" href="structmidi_1_1midi__time__event.html">midi_time_event</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmidi_1_1MidiFileParserMultiTrack.html#a980461481f88e7d62c8ee6e531938ab1">parseTimeEvent</a> ()</td></tr>
<tr class="memdesc:a980461481f88e7d62c8ee6e531938ab1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provide the next midi element using the iterators. <br /></td></tr>
<tr class="separator:a980461481f88e7d62c8ee6e531938ab1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a17c1aff30b4e0299db449853cd495c61"><td class="memItemLeft" align="right" valign="top"><a id="a17c1aff30b4e0299db449853cd495c61"></a>
<a class="el" href="classmidi_1_1MidiFileParser.html">MidiFileParser</a>&#160;</td><td class="memItemRight" valign="bottom"><b>parser</b></td></tr>
<tr class="separator:a17c1aff30b4e0299db449853cd495c61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0fd03443de464eb7373b372c794fe905"><td class="memItemLeft" align="right" valign="top"><a id="a0fd03443de464eb7373b372c794fe905"></a>
<a class="el" href="classmidi_1_1multichannel__segment__tracks.html">multichannel_segment_tracks</a>&#160;</td><td class="memItemRight" valign="bottom"><b>data</b></td></tr>
<tr class="separator:a0fd03443de464eb7373b372c794fe905"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a048ff7009ba99ba38240522a06d4bc42"><td class="memItemLeft" align="right" valign="top"><a id="a048ff7009ba99ba38240522a06d4bc42"></a>
<a class="el" href="structmidi_1_1midi__parser__state.html">midi_parser_state</a>&#160;</td><td class="memItemRight" valign="bottom"><b>parser_state</b></td></tr>
<tr class="separator:a048ff7009ba99ba38240522a06d4bc42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b5aa3de438e3a53de6683d7bb7486c1"><td class="memItemLeft" align="right" valign="top"><a id="a9b5aa3de438e3a53de6683d7bb7486c1"></a>
<a class="el" href="structmidi_1_1midi__parser__state.html">midi_parser_state</a>&#160;</td><td class="memItemRight" valign="bottom"><b>not_ready</b> {MIDI_PARSER_DELAY}</td></tr>
<tr class="separator:a9b5aa3de438e3a53de6683d7bb7486c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e40318ea2b16888d6dd3f8ee1a87100"><td class="memItemLeft" align="right" valign="top"><a id="a4e40318ea2b16888d6dd3f8ee1a87100"></a>
<a class="el" href="structmidi_1_1midi__parser__state.html">midi_parser_state</a>&#160;</td><td class="memItemRight" valign="bottom"><b>eob</b> {MIDI_PARSER_EOB}</td></tr>
<tr class="separator:a4e40318ea2b16888d6dd3f8ee1a87100"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac262ac9dd9e2cfc75ebfadfcf2bdbd97"><td class="memItemLeft" align="right" valign="top"><a id="ac262ac9dd9e2cfc75ebfadfcf2bdbd97"></a>
<a class="el" href="structmidi_1_1midi__time__event.html">midi_time_event</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>p_current_state</b> = nullptr</td></tr>
<tr class="separator:ac262ac9dd9e2cfc75ebfadfcf2bdbd97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af4b106897a8b9fa24ca851a57c27a7e0"><td class="memItemLeft" align="right" valign="top"><a id="af4b106897a8b9fa24ca851a57c27a7e0"></a>
uint64_t&#160;</td><td class="memItemRight" valign="bottom"><b>start_time</b> = 0l</td></tr>
<tr class="separator:af4b106897a8b9fa24ca851a57c27a7e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a238e00a2206c1ae99a18ad2d0c7893f1"><td class="memItemLeft" align="right" valign="top"><a id="a238e00a2206c1ae99a18ad2d0c7893f1"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>is_iterators_available</b> = false</td></tr>
<tr class="separator:a238e00a2206c1ae99a18ad2d0c7893f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Midi file parser which stores the data in RAM before making them available for parsing. Please note that this class might need a considerable amount of ram so you might consider to activate the PSRAM. Make sure that you complete all <a class="el" href="classmidi_1_1MidiFileParserMultiTrack.html#a76afb244cc53b394e777ba395d49d88e" title="Single character write.">write()</a> calls before starting to call <a class="el" href="classmidi_1_1MidiFileParserMultiTrack.html#a92f154462e857a862484e97e06dd5f61" title="Provide the next midi element.">parse()</a> or <a class="el" href="classmidi_1_1MidiFileParserMultiTrack.html#aa915f8f2c18d9770debd991a6b33a6d1" title="Provide the next midi element considering the times.">parseTimed()</a>! </p>
<dl class="section author"><dt>Author</dt><dd>Phil Schatzmann </dd></dl>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="aae547b0ac886009072ef71c3394b5a31"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aae547b0ac886009072ef71c3394b5a31">&#9670;&nbsp;</a></span>endWrite()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void midi::MidiFileParserMultiTrack::endWrite </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Marks that we are done with writing the data to prepare for <a class="el" href="classmidi_1_1MidiFileParserMultiTrack.html#a92f154462e857a862484e97e06dd5f61" title="Provide the next midi element.">parse()</a> and <a class="el" href="classmidi_1_1MidiFileParserMultiTrack.html#aa915f8f2c18d9770debd991a6b33a6d1" title="Provide the next midi element considering the times.">parseTimed()</a> calls. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/<a class="el" href="MidiFileParserMultiTrack_8h_source.html">MidiFileParserMultiTrack.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>
